Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: euclid v2 #158

Open
wants to merge 7 commits into
base: scroll
Choose a base branch
from
Open

feat: euclid v2 #158

wants to merge 7 commits into from

Conversation

lightsing
Copy link
Member

@lightsing lightsing commented Feb 18, 2025

closes: #143

Copy link

codspeed-hq bot commented Feb 18, 2025

CodSpeed Performance Report

Merging #158 will not alter performance

Comparing feat/euclid-v2 (e65a35e) with scroll (a337c97)

Summary

✅ 77 untouched benchmarks

Copy link
Collaborator

@greged93 greged93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the help on this! I think we might be missing modifications to the following related to Euclid:

  • ScrollHardforkInfo for struct itself.
  • ScrollHardfork for scroll_mainnet and scroll_sepolia.
  • impl From<Genesis> for ScrollChainSpec for the Euclid changes.

@@ -107,6 +110,7 @@ impl ScrollHardfork {
Self::Curie => Some(7096836),
Self::Darwin => Some(8568134),
Self::DarwinV2 => Some(8923772),
_ => None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have Self::Euclid and Self::EuclidV2 as Some(0)?

Copy link
Member Author

@lightsing lightsing Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's something TBD?
Some(0) means enabled on the genesis which should not be as expected?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, maybe just add a TODO?

Copy link
Collaborator

@greged93 greged93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realized we also need to modify the ScrollExecutionStrategy implementation of the BlockExecutionStrategy::execute_transactions, to only skip EIP-7702 transactions before Euclid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EIP-7702 Support
2 participants